package cn.hunqing.web.service;

import cn.hunqing.web.entity.User;
import cn.hunqing.web.session.SessionUserInfo;

/**
 *
 * @date 2015-08-01 18:13
 */
public interface UserService {
	
	SessionUserInfo saveOrUpdate(User user);

	void findByUnionID(String unionID);

	SessionUserInfo findByUserNameAndPassword(String userName, String password);

	void register(String userName, String password);

}
